/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jhelper;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 *
 * @author 卢仕威
 */
public class InputsDemo {
    public static void main(String[] args) throws FileNotFoundException, IOException {
        File file=new File("c:\\","2011-04-10.txt");
        FileReader f= new FileReader(file);
        BufferedReader br =new BufferedReader(f);
        String temp=null;
        while((temp=br.readLine())!=null)
            System.out.println(temp);
    }

}
